package com.mine.frame.mylandemo.adapter.haobo

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.mine.frame.mylandemo.R
import com.mine.frame.mylandemo.entity.haobo.KeyNumberBean

/**
 * @Date 2022/6/15
 * Description:
 */
class KeyNumberListAdapter :
    BaseQuickAdapter<KeyNumberBean, BaseViewHolder>(R.layout.item_key_number) {
    override fun convert(holder: BaseViewHolder, item: KeyNumberBean) {
        holder.setText(R.id.tvName, "${item.name}(${item.number})")
    }
}